﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace CodeBox.FB.ViewModels
{
    public class TeamViewModel
    {
        
        public long ID { get; set; }
        [Required]
        [Display(Name = "Name")]
        public string TeamName { get; set; }
        public string ImageUrl { get; set; }

    }

    public class TeamInfoModel : TeamViewModel
    {
        public long Matches { get; set; }
        public int Points { get; set; }
        public long Won { get; set; }
        public int Lost { get; set; }
        public int Tied { get; set; }
        public long NoResult { get; set; }
        public decimal Average { get; set; }
    }
}
